<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>AmpleHarvest: cTABLE_Keybox.php Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">AmpleHarvest
   &#160;<span id="projectnumber">0.0.1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('c_t_a_b_l_e___keybox_8php.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">cTABLE_Keybox.php</div>  </div>
</div>
<div class="contents">
<a href="c_t_a_b_l_e___keybox_8php.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 &lt;?php
<a name="l00005"></a>00005         <span class="keyword">namespace </span>ampleharvest\code\usermanager\tables;
<a name="l00006"></a>00006 
<a name="l00007"></a>00007         use\ampleharvest\permissions;
<a name="l00008"></a>00008         use\ampleharvest\code;
<a name="l00009"></a>00009 
<a name="l00010"></a>00010         require_once dirname(dirname(dirname(dirname(__FILE__)))) . <span class="stringliteral">&#39;/config/cConfig.php&#39;</span>;
<a name="l00011"></a>00011         require_once dirname(dirname(dirname(dirname(__FILE__)))) . <span class="stringliteral">&#39;/config/cPermissions.php&#39;</span>;
<a name="l00012"></a>00012 
<a name="l00013"></a>00013         require_once code\cConfig::C_STR_USER_MANAGER_PATH . <span class="stringliteral">&quot;/Classes/cTABLE_Keybox.php&quot;</span>;
<a name="l00014"></a>00014         require_once <span class="stringliteral">&quot;cTABLE_Groups.php&quot;</span>;
<a name="l00015"></a>00015 
<a name="l00029"></a><a class="code" href="classampleharvest_1_1code_1_1usermanager_1_1tables_1_1c_t_a_b_l_e___keybox.html">00029</a>         <span class="keyword">class </span><a class="code" href="classampleharvest_1_1code_1_1usermanager_1_1tables_1_1c_t_a_b_l_e___keybox.html" title="Adds new actions to the Actions Table in the User Manager database.">cTABLE_Keybox</a> <span class="keyword">extends</span> \<a class="code" href="classampleharvest_1_1code_1_1usermanager_1_1tables_1_1c_t_a_b_l_e___keybox.html" title="Adds new actions to the Actions Table in the User Manager database.">cTABLE_Keybox</a>
<a name="l00030"></a>00030         {
<a name="l00035"></a><a class="code" href="classampleharvest_1_1code_1_1usermanager_1_1tables_1_1c_t_a_b_l_e___keybox.html#a0001ac169d54c3f492f107fb76d678c2">00035</a>                 <span class="keyword">public</span> <span class="keyword">function</span> insert_DefaultData()
<a name="l00036"></a>00036                 {
<a name="l00037"></a>00037 <span class="comment">//Known Users                   </span>
<a name="l00038"></a>00038                         $this-&gt;set_ID(<span class="stringliteral">&quot;5E68EFAB-13DA-48AE-A639-AA7D84588332&quot;</span>);
<a name="l00039"></a>00039                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_SAVED_QUERY_ADD);
<a name="l00040"></a>00040                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00041"></a>00041                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_KNOWN);
<a name="l00042"></a>00042                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives Identified Users the permission to Save a Query&quot;</span>);
<a name="l00043"></a>00043 
<a name="l00044"></a>00044                         $this-&gt;save_Data2DB();
<a name="l00045"></a>00045 
<a name="l00046"></a>00046                         $this-&gt;set_ID(<span class="stringliteral">&quot;8678F592-D63B-4B54-811C-FA74B5B20BB3&quot;</span>);
<a name="l00047"></a>00047                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_SAVED_QUERY_DELETE);
<a name="l00048"></a>00048                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00049"></a>00049                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_KNOWN);
<a name="l00050"></a>00050                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives Identified Users the permission to Delete a Query&quot;</span>);
<a name="l00051"></a>00051 
<a name="l00052"></a>00052                         $this-&gt;save_Data2DB();
<a name="l00053"></a>00053 
<a name="l00054"></a>00054                         $this-&gt;set_ID(<span class="stringliteral">&quot;E00FE335-8C84-4334-A329-73EFEDD4F7F3&quot;</span>);
<a name="l00055"></a>00055                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_SAVED_QUERY_EDIT);
<a name="l00056"></a>00056                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00057"></a>00057                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_KNOWN);
<a name="l00058"></a>00058                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives Identified Users the permission to Edit a Query&quot;</span>);
<a name="l00059"></a>00059 
<a name="l00060"></a>00060                         $this-&gt;save_Data2DB();
<a name="l00061"></a>00061 
<a name="l00062"></a>00062                         $this-&gt;set_ID(<span class="stringliteral">&quot;1144A0EB-AF5A-4847-ABF9-13628759C07E&quot;</span>);
<a name="l00063"></a>00063                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_SAVED_QUERY_VIEW);
<a name="l00064"></a>00064                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00065"></a>00065                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_KNOWN);
<a name="l00066"></a>00066                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives Identified Users the permission to View a Query&quot;</span>);
<a name="l00067"></a>00067 
<a name="l00068"></a>00068                         $this-&gt;save_Data2DB();
<a name="l00069"></a>00069                         
<a name="l00070"></a>00070                         $this-&gt;set_ID(<span class="stringliteral">&quot;C5E34D82-3E70-46B5-8553-D7B052E3A57F&quot;</span>);
<a name="l00071"></a>00071                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_GROUP_REQUEST);
<a name="l00072"></a>00072                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00073"></a>00073                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_KNOWN);
<a name="l00074"></a>00074                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives Identified Users the permission to request a group.&quot;</span>);
<a name="l00075"></a>00075 
<a name="l00076"></a>00076                         $this-&gt;save_Data2DB();
<a name="l00077"></a>00077 <span class="comment">//Harvest Request</span>
<a name="l00078"></a>00078 
<a name="l00079"></a>00079                         $this-&gt;set_ID(<span class="stringliteral">&quot;0805165A-7856-40EC-A629-565A3E663134&quot;</span>);
<a name="l00080"></a>00080                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_HR_DEACTIVATE);
<a name="l00081"></a>00081                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00082"></a>00082                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_HARVEST_MANAGER);
<a name="l00083"></a>00083                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives Harvest Managers the permission to Deactivate a harvest Request&quot;</span>);
<a name="l00084"></a>00084 
<a name="l00085"></a>00085                         $this-&gt;save_Data2DB();
<a name="l00086"></a>00086 
<a name="l00087"></a>00087                         $this-&gt;set_ID(<span class="stringliteral">&quot;56E3FA82-1765-402A-95E2-EF640921EE31&quot;</span>);
<a name="l00088"></a>00088                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_HR_EDIT_ALL_STAGE1);
<a name="l00089"></a>00089                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00090"></a>00090                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_HARVEST_MANAGER);
<a name="l00091"></a>00091                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives Harvest Managers the permission to edit all harvest Requests in stage 1&quot;</span>);
<a name="l00092"></a>00092 
<a name="l00093"></a>00093                         $this-&gt;save_Data2DB();
<a name="l00094"></a>00094 
<a name="l00095"></a>00095                         $this-&gt;set_ID(<span class="stringliteral">&quot;8E8B5C11-6393-48CF-BD8F-4C6640001F0F&quot;</span>);
<a name="l00096"></a>00096                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_HR_EDIT_ALL_STAGE2);
<a name="l00097"></a>00097                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00098"></a>00098                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_HARVEST_MANAGER);
<a name="l00099"></a>00099                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives Harvest Managers the permission to edit all harvest Requests in stage 2&quot;</span>);
<a name="l00100"></a>00100 
<a name="l00101"></a>00101                         $this-&gt;save_Data2DB();
<a name="l00102"></a>00102 
<a name="l00103"></a>00103                         $this-&gt;set_ID(<span class="stringliteral">&quot;A71AC6A4-F123-4337-B4F6-072D3D973579&quot;</span>);
<a name="l00104"></a>00104                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_HR_EDIT_DISCUSSIONS);
<a name="l00105"></a>00105                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00106"></a>00106                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_HARVEST_MANAGER);
<a name="l00107"></a>00107                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives Harvest Managers the permission to edit Discussions about harvest Requests.&quot;</span>);
<a name="l00108"></a>00108 
<a name="l00109"></a>00109                         $this-&gt;save_Data2DB();
<a name="l00110"></a>00110 
<a name="l00111"></a>00111                         $this-&gt;set_ID(<span class="stringliteral">&quot;2D882D96-453C-48DF-BD45-1E5F243AF4CE&quot;</span>);
<a name="l00112"></a>00112                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_HR_EDIT_OWN_STAGE1);
<a name="l00113"></a>00113                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00114"></a>00114                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_KNOWN);
<a name="l00115"></a>00115                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives Known Users the permission to edit their own harvest Requests in stage one.&quot;</span>);
<a name="l00116"></a>00116 
<a name="l00117"></a>00117                         $this-&gt;save_Data2DB();
<a name="l00118"></a>00118 
<a name="l00119"></a>00119                         $this-&gt;set_ID(<span class="stringliteral">&quot;6ED4FF7F-05E6-414D-A418-FC73FE236706&quot;</span>);
<a name="l00120"></a>00120                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_HR_EDIT_STATUS);
<a name="l00121"></a>00121                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00122"></a>00122                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_HARVEST_MANAGER);
<a name="l00123"></a>00123                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives Harvest Managers the permission to the status of harvest Requests.&quot;</span>);
<a name="l00124"></a>00124 
<a name="l00125"></a>00125                         $this-&gt;save_Data2DB();
<a name="l00126"></a>00126 
<a name="l00127"></a>00127                         $this-&gt;set_ID(<span class="stringliteral">&quot;2A5881FA-1DE0-4EC4-B2B2-3ED376D535D7&quot;</span>);
<a name="l00128"></a>00128                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_HR_REQUEST_DEACTIVATE_ALL);
<a name="l00129"></a>00129                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00130"></a>00130                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_HARVEST_MANAGER);
<a name="l00131"></a>00131                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives Harvest Managers the permission to Request Deactivation of any harvest Request.&quot;</span>);
<a name="l00132"></a>00132 
<a name="l00133"></a>00133                         $this-&gt;save_Data2DB();
<a name="l00134"></a>00134 
<a name="l00135"></a>00135                         $this-&gt;set_ID(<span class="stringliteral">&quot;7519EB75-F898-4C7E-8A4F-462494C1E4F2&quot;</span>);
<a name="l00136"></a>00136                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_HR_REQUEST_DEACTIVATE_OWN);
<a name="l00137"></a>00137                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00138"></a>00138                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_KNOWN);
<a name="l00139"></a>00139                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives Known Users the permission to Request Deactivation of Their Harvest Requests.&quot;</span>);
<a name="l00140"></a>00140 
<a name="l00141"></a>00141                         $this-&gt;save_Data2DB();
<a name="l00142"></a>00142 
<a name="l00143"></a>00143                         $this-&gt;set_ID(<span class="stringliteral">&quot;B483826D-CD73-4096-92D8-D66E2B29F592&quot;</span>);
<a name="l00144"></a>00144                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_HR_SUBMIT);
<a name="l00145"></a>00145                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00146"></a>00146                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_KNOWN);
<a name="l00147"></a>00147                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives Known Users the permission to sumbit a Harvest Request.&quot;</span>);
<a name="l00148"></a>00148 
<a name="l00149"></a>00149                         $this-&gt;save_Data2DB();
<a name="l00150"></a>00150 
<a name="l00151"></a>00151                         $this-&gt;set_ID(<span class="stringliteral">&quot;DC8650B5-484F-4069-9476-899A495A4A94&quot;</span>);
<a name="l00152"></a>00152                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_HR_VIEW_ALL);
<a name="l00153"></a>00153                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00154"></a>00154                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_KNOWN);
<a name="l00155"></a>00155                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives Known Users the permission to view all Harvest Request.&quot;</span>);
<a name="l00156"></a>00156 
<a name="l00157"></a>00157                         $this-&gt;save_Data2DB();
<a name="l00158"></a>00158 
<a name="l00159"></a>00159                         $this-&gt;set_ID(<span class="stringliteral">&quot;D05E39C3-07CA-4F49-8508-D06977473BD4&quot;</span>);
<a name="l00160"></a>00160                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_HR_VIEW_DISCUSSIONS);
<a name="l00161"></a>00161                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00162"></a>00162                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_KNOWN);
<a name="l00163"></a>00163                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives Known Users the permission to view discussions about Harvest Request.&quot;</span>);
<a name="l00164"></a>00164 
<a name="l00165"></a>00165                         $this-&gt;save_Data2DB();
<a name="l00166"></a>00166 
<a name="l00167"></a>00167                         $this-&gt;set_ID(<span class="stringliteral">&quot;9B6A001A-ADCB-45D8-8E3A-995ACF7144DD&quot;</span>);
<a name="l00168"></a>00168                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_STATISTICS_VIEW);
<a name="l00169"></a>00169                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00170"></a>00170                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_KNOWN);
<a name="l00171"></a>00171                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives Known Users the permission to view AmpleHarvest Statistics.&quot;</span>);
<a name="l00172"></a>00172 
<a name="l00173"></a>00173                         $this-&gt;save_Data2DB();
<a name="l00174"></a>00174 <span class="comment">//Data Manager</span>
<a name="l00175"></a>00175                         $this-&gt;set_ID(<span class="stringliteral">&quot;6ECB5598-7505-4F25-9727-753CA9631A63&quot;</span>);
<a name="l00176"></a>00176                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_DATA_ADD);
<a name="l00177"></a>00177                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00178"></a>00178                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_DATA_MANAGER);
<a name="l00179"></a>00179                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives Data Managers the ability to add Data to AmpleHarvest.&quot;</span>);
<a name="l00180"></a>00180 
<a name="l00181"></a>00181                         $this-&gt;save_Data2DB();
<a name="l00182"></a>00182                         
<a name="l00183"></a>00183                         $this-&gt;set_ID(<span class="stringliteral">&quot;C8C40103-EC0C-44D9-8387-FE8D9A0A8F45&quot;</span>);
<a name="l00184"></a>00184                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_DATA_DELETE);
<a name="l00185"></a>00185                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00186"></a>00186                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_DATA_MANAGER);
<a name="l00187"></a>00187                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives Data Managers the ability to remove Data to AmpleHarvest.&quot;</span>);
<a name="l00188"></a>00188 
<a name="l00189"></a>00189                         $this-&gt;save_Data2DB();
<a name="l00190"></a>00190 <span class="comment">//AmpleHarvest Administrator</span>
<a name="l00191"></a>00191                         
<a name="l00192"></a>00192                         $this-&gt;set_ID(<span class="stringliteral">&quot;E16DA06A-3C8F-47B8-8B28-A03903F6DF85&quot;</span>);
<a name="l00193"></a>00193                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_ADMIN_VIEW);
<a name="l00194"></a>00194                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00195"></a>00195                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_AH_ADMIN);
<a name="l00196"></a>00196                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives AmpleHarvest Administrators the ability to View Admin Functions.&quot;</span>);
<a name="l00197"></a>00197 
<a name="l00198"></a>00198                         $this-&gt;save_Data2DB();
<a name="l00199"></a>00199                         
<a name="l00200"></a>00200                         $this-&gt;set_ID(<span class="stringliteral">&quot;26CE3257-4BFB-4FB4-B1F2-95BCB0CA9267&quot;</span>);
<a name="l00201"></a>00201                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_ADMIN_VIEW_STATUS);
<a name="l00202"></a>00202                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00203"></a>00203                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_AH_ADMIN);
<a name="l00204"></a>00204                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives AmpleHarvest Administrators the ability to View Over all status of the system.&quot;</span>);
<a name="l00205"></a>00205 
<a name="l00206"></a>00206                         $this-&gt;save_Data2DB();
<a name="l00207"></a>00207                         
<a name="l00208"></a>00208 
<a name="l00209"></a>00209 <span class="comment">//Group Administrator</span>
<a name="l00210"></a>00210                         
<a name="l00211"></a>00211                         $this-&gt;set_ID(<span class="stringliteral">&quot;B2F3E0DA-5204-4ACA-B3D4-61ADFA4E0EBD&quot;</span>);
<a name="l00212"></a>00212                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_GROUP_APPROVE);
<a name="l00213"></a>00213                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00214"></a>00214                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_AH_GROUP_ADMIN);
<a name="l00215"></a>00215                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives AmpleHarvest Group Administrators the ability to Approve Requests.&quot;</span>);
<a name="l00216"></a>00216 
<a name="l00217"></a>00217                         $this-&gt;save_Data2DB();
<a name="l00218"></a>00218                         
<a name="l00219"></a>00219                         $this-&gt;set_ID(<span class="stringliteral">&quot;44F992BD-FCD1-4C4D-A1D8-724ACDDDABA0&quot;</span>);
<a name="l00220"></a>00220                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_GROUP_EDIT);
<a name="l00221"></a>00221                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00222"></a>00222                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_AH_GROUP_ADMIN);
<a name="l00223"></a>00223                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives AmpleHarvest Group Administrators the ability to edit any group.&quot;</span>);
<a name="l00224"></a>00224 
<a name="l00225"></a>00225                         $this-&gt;save_Data2DB();
<a name="l00226"></a>00226                         
<a name="l00227"></a>00227                         $this-&gt;set_ID(<span class="stringliteral">&quot;D283AF24-312A-4B5A-AC83-9F1CAA0A3447&quot;</span>);
<a name="l00228"></a>00228                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_ADMIN_VIEW);
<a name="l00229"></a>00229                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00230"></a>00230                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_AH_GROUP_ADMIN);
<a name="l00231"></a>00231                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives AmpleHarvest Group Administrators the ability to view the admin menu.&quot;</span>);
<a name="l00232"></a>00232 
<a name="l00233"></a>00233                         $this-&gt;save_Data2DB();
<a name="l00234"></a>00234                         
<a name="l00235"></a>00235                         $this-&gt;set_ID(<span class="stringliteral">&quot;57C4ABEC-5B9A-4A43-A367-92B6B476F86B&quot;</span>);
<a name="l00236"></a>00236                         $this-&gt;set_ActionID(permissions\cPermissions::C_STR_PERMISION_GROUP_VIEW_PENDING);
<a name="l00237"></a>00237                         $this-&gt;set_LinkType(self::c_int_LINKTYPE_GROUP);
<a name="l00238"></a>00238                         $this-&gt;set_LinkID(cTABLE_Groups::C_STR_GROUP_AH_GROUP_ADMIN);
<a name="l00239"></a>00239                         $this-&gt;set_Comment(<span class="stringliteral">&quot;Gives AmpleHarvest Group Administrators the ability to view the pending group requests.&quot;</span>);
<a name="l00240"></a>00240 
<a name="l00241"></a>00241                         $this-&gt;save_Data2DB();
<a name="l00242"></a>00242                         
<a name="l00243"></a>00243                         <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00244"></a>00244                 }
<a name="l00245"></a>00245         }
<a name="l00246"></a>00246 ?&gt;
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="c_t_a_b_l_e___keybox_8php.html">cTABLE_Keybox.php</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Mon Jan 23 2012 13:34:20 for AmpleHarvest by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
